PaymentPlugins\PPCP\WooCommercePreOrders\PreOrdersController A

Total Complexity 53
Dependencies 8
Dependents 1
Total lines 195
Lines of code 141
Logical lines of code 77
Comment lines 25
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
get_paypal_flow()
A
54 9 21
add_payment_method_data()
S
59 7 15
handle_checkout_validation()
S
55 5 18
show_card_save_checkbox()
S
64 5 10
process_payment()
S
63 4 10
get_payment_method_save_required()
S
67 4 8
get_checkout_payment_method_save_required()
S
67 4 8
filter_product_payment_gateways()
S
64 4 10
filter_cart_payment_gateways()
S
64 4 10
filter_express_payment_gateways()
S
64 4 10
initialize()
S
58 1 14
__construct()
S
81 1 3
process_order_completion_payment()
S
76 1 4